package com.googlecode.cswish.struts.spring;

import org.springframework.beans.factory.config.BeanDefinition;

/**
 * Use the full class name as the bean name
 * 
 * @author Jerry
 *
 */
public class AnnotationBeanNameGenerator extends
		org.springframework.context.annotation.AnnotationBeanNameGenerator {
	@Override  
    protected String buildDefaultBeanName(BeanDefinition definition) {  
        return definition.getBeanClassName();  
    }
}